# 虚拟环境位置 -- D:\virtualENV3.5.2\ENV
# -*- coding: utf-8 -*-
# @Time    : 2017/11/29 11:43
# @Author  : wdm
# @Site    : 
# @File    : models.py
# @Software: PyCharm

# 数据类

class HtmlData :
    def __init__(self):
        # 主域名
        self.main_url = ''
        # 当前内容URL
        self.index_url = ''
        # 内容
        self.content = ''
        # 批次号
        self.batch_id = ''
        # 标题
        self.title = ''
        # 是否检查敏感词次数
        self.is_check = ''
    def __str__(self):
        return '"main_url":"{}","index_url":"{}","content":"{}","batch_id":"{}","title":"{}","is_check":"{}"'.format(
            self.main_url,self.index_url,self.content,self.batch_id,self.title, self.is_check
        )
